package com.dk.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.dk.entity.DtFans;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dk.entity.DtItem;
import com.dk.vo.DtFansVO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2021-12-20
 */
public interface DtFansMapper extends BaseMapper<DtFans> {
    @Select("select follow_id from dt_fans where uid = uid)${ew.customSqlSegment}")
    List<DtFansVO> selectByUid(@Param(Constants.WRAPPER) Wrapper<DtFans> wrapper);


}
